#include <wx/wx.h>

#include "cIplMainStereo.h"

cIplMainStereo::cIplMainStereo(wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style) : cMainStereo(parent, id, title, pos, size, style)
{
}


void cIplMainStereo::onExit(wxCommandEvent& event)
{
    this->Destroy();
}

void cIplMainStereo::onCalibrate( wxCommandEvent& event )
{
    calibFrame = new cIplCalibrate(this, wxID_ANY, wxT("Calibration Frame"));
    calibFrame->Show(true);
}

void cIplMainStereo::onStereo( wxCommandEvent& event )
{
    cameraFrame = new cIplCamera(this);
    cameraFrame->Show(true);
}